@import "vendor/normalize";

* { box-sizing: border-box; }

html, body {
  height: 100%;
  font-family: "Open sans";
  margin: 0;
  overflow: hidden;
}

.wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

header {
  display: flex;
  align-items: center;
  flex: none;
  height: 50px;
  padding: 0 10px;
  border-bottom: 2px solid #ddd;
}

h1 {
  flex: none;
  font-size: 1rem;
  margin: 0;
  font-weight: normal;
}

.info {
  flex: 1;
  line-height: 1;
  //border-bottom: 4px solid #ddd;
  padding: 10px;
  font-size: 12px;
}

.content {
  flex: 1;
  display: flex;
}

#source {
  border-right: 4px solid #ddd;
  flex: 0 0 350px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;

  background-color: #eeeeee;

  textarea {
    flex: 1;
    font-family: "Ubuntu Mono", monospace;

    border: 0;
    padding: 5px;
    resize: none;

    outline: none;
  }
}

#canvas_wrapper {
  flex: 2.5;
  overflow: scroll;
}

.sliders {
  padding: 10px;
  font-size: 12px;
  border-bottom: 4px solid #ddd;

  flex: none;

  @media screen and ( max-height: 600px ){
    display: none;
  }
}



.field {
  display: flex;

  label {
    display: flex;
    justify-content: center;
    flex-direction: column;
    flex: 1.3;
  }

  *:nth-child(2) {
    flex: 3;
  }
}

input[type=range] {
  margin-left: 10px;
  height: 30px;
}

@import "vendor/ion.rangeSlider";
@import "vendor/ion.rangeSlider.skinNice";
